package com.hx.er.mapper;

import java.util.List;
import java.util.Map;

import com.hx.er.bean.base.FoodTemplateBean;
import com.hx.er.bean.detail.FoodTemplateDetailBean;

public interface IFoodTemplateMapper {
	public List<FoodTemplateBean> getFoodTemplateAliveList(Map<String, Object> conditions);
	
	public FoodTemplateDetailBean getFoodTemplateAliveById(long foodId);
	
	public int getFoodTemplateAliveCount(Map<String, Object> conditions);
	
	public void insertFoodTemplateWithoutId(FoodTemplateBean foodBean);
	
	public int deleteFoodTemplate(FoodTemplateBean foodBean);
	
	public int updateFoodTemplate(FoodTemplateBean foodBean);
}
